using UnityEngine;

public class GGGameTime : MonoBehaviour
{
	public const float minTimescale = 0.02f;

	private static float _gameTimescale = 1f;

	public static float gameTimescale
	{
		get
		{
			return _gameTimescale;
		}
		set
		{
			_gameTimescale = Mathf.Max(0.02f, value);
		}
	}

	public static float deltaTime
	{
		get
		{
			return Time.deltaTime * gameTimescale;
		}
	}
}
